package com.ruoyi.web.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 股票日K线数据对象 gu_mr_stock_daily
 * 
 * @author ruoyi
 * @date 2025-10-24
 */
public class GuMrStockDaily extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private String id;

    /** 交易时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "交易时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date t;

    /** 开盘价 */
    @Excel(name = "开盘价")
    private BigDecimal o;

    /** 最高价 */
    @Excel(name = "最高价")
    private BigDecimal h;

    /** 最低价 */
    @Excel(name = "最低价")
    private BigDecimal l;

    /** 收盘价 */
    @Excel(name = "收盘价")
    private BigDecimal c;

    /** 成交量（股） */
    @Excel(name = "成交量", readConverterExp = "股=")
    private Long v;

    /** 成交额（元） */
    @Excel(name = "成交额", readConverterExp = "元=")
    private BigDecimal a;

    /** 前收盘价 */
    @Excel(name = "前收盘价")
    private BigDecimal pc;

    /** 停牌 1停牌 0不停牌 */
    @Excel(name = "停牌 1停牌 0不停牌")
    private Integer sf;

    /** 公司代码 */
    @Excel(name = "公司代码")
    private String code;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public void setT(Date t) 
    {
        this.t = t;
    }

    public Date getT() 
    {
        return t;
    }

    public void setO(BigDecimal o) 
    {
        this.o = o;
    }

    public BigDecimal getO() 
    {
        return o;
    }

    public void setH(BigDecimal h) 
    {
        this.h = h;
    }

    public BigDecimal getH() 
    {
        return h;
    }

    public void setL(BigDecimal l) 
    {
        this.l = l;
    }

    public BigDecimal getL() 
    {
        return l;
    }

    public void setC(BigDecimal c) 
    {
        this.c = c;
    }

    public BigDecimal getC() 
    {
        return c;
    }

    public void setV(Long v) 
    {
        this.v = v;
    }

    public Long getV() 
    {
        return v;
    }

    public void setA(BigDecimal a) 
    {
        this.a = a;
    }

    public BigDecimal getA() 
    {
        return a;
    }

    public void setPc(BigDecimal pc) 
    {
        this.pc = pc;
    }

    public BigDecimal getPc() 
    {
        return pc;
    }

    public void setSf(Integer sf) 
    {
        this.sf = sf;
    }

    public Integer getSf() 
    {
        return sf;
    }

    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("t", getT())
            .append("o", getO())
            .append("h", getH())
            .append("l", getL())
            .append("c", getC())
            .append("v", getV())
            .append("a", getA())
            .append("pc", getPc())
            .append("sf", getSf())
            .append("code", getCode())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .toString();
    }
}
